<%@ page language="java" import="java.util.*,cn.sypt.yuhao.model.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/ui/";

String uemail=(String)request.getAttribute("uemail");
String uname=(String)request.getAttribute("uname");
uemail=new Tool().getEmail(uemail);

%>

<!DOCTYPE HTML>
<html>
  <head>
<title>忘记密码</title>
<base href="<%=basePath%>">
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Custom Theme files -->
<!--theme-style-->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />	
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="New Store Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!--fonts-->
<!-- start menu -->
<link href="css/memenu.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="js/memenu.js"></script>
<script>$(document).ready(function(){$(".memenu").memenu();});</script>
<script src="js/simpleCart.min.js"> </script>
<script language="javascript">
	function checkSub()
	{
	var flag=false;
	var uemail=uform.uemail.value;
    if(uemail.trim()=="")
    {
    window.alert("确认邮箱不能为空");
    }else
    {
    flag=true;
    }
	  return flag;	
	}
	</script>
</head>
  
  <body>
  <jsp:include flush="true" page="head.jsp"></jsp:include>
  <div class="container">
		<div class="account">
		<h3>忘记密码第二步</h3>
		<div class="account-pass">
		<div class="col-md-8 account-top">
			<form action="/sypt/LoginsyCl?flag=wjmm2&uname=<%=uname %>" name="uform" method="post" >
				
			<div> 
				<span >注册邮箱</span>
				<input type="text" name="yemail" value="<%=uemail %>"/>
			</div>
			<div> 
				<span >补全注册邮箱</span>
				<input type="text" name="uemail">
			</div>
		
			<input type="submit" value="确认" onclick="return checkSub();"> 
			</form>
		</div>
		<div class="col-md-4 left-account ">
			<div class="five">
			<a href="zhuce.jsp">
			<h2><span>注册</span></h2></a>
			</div>
			 </div>
		</div>
	<div class="clearfix"> </div>
	</div>
	</div>

</div>

<jsp:include flush="true" page="foot.jsp"></jsp:include>
  </body>
  
  <script>
   <% 
     String msg=(String)request.getAttribute("msg");
     if(msg!=null)
     {
   %>
     alert('<%=msg%>');
   <%     
     }
   %>
</script>
</html>
